import http from '../http.js'

function getAnswerNum(qid){
	return http.get('/answer/getAnswerNum?qid='+qid)
}

function getAnswersBetween(qid,start,end){
	return http.get('/answer/getAnswersBetween?qid='+qid+'&start='+start+'&end='+end)
}

function pushAnswer(data){
	return http.post('/answer/pushAnswer',data)
}

export{
	getAnswerNum,
	getAnswersBetween,
	pushAnswer
}